// Must offer a paramerterless function

#include <iostream>
using namespace std;


class A {
	public:
		A( int i=0 ) {
			this->i = i;
		}
	private:
		int i;
};

class Human {
	public:
		Human( int age=0, const char* name="wuming" ) {
			cout << "This function has been called" << endl;
			this->age = age;
			this->name = name;
		}
		void getinfo( ) {
			cout << "name : " << name << endl;
			cout << "age : " << age << endl;
		}
	private:
		int age;
		string name;
		A a;
};

// designer
// ------------------------------------------------------------------
// user

int main( void ) { 
	Human h;
	h.getinfo( );

	return 0;
}

